package com.example.myapplication.a_utils;

import com.example.myapplication.a_mvp.contract.MyContract;
import com.example.myapplication.a_mvp.model.MyModel;

import dagger.Module;
import dagger.Provides;

@Module
public class Dag_Mod {
    private MyContract.MyView myView;

    public Dag_Mod(MyContract.MyView myView) {
        this.myView = myView;
    }
    @Provides
    public MyContract.MyView getMyView() {
        return myView;
    }
    @Provides
    public MyContract.MyModel getMyModel() {
        return new MyModel();
    }

}
